package com.xq.shop.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author gaoxiaojin
 */
@Data
public class EditLabelDto {

    @NotNull(message = "id不能为空")
    private Integer id;

    @NotBlank(message = "label不能为空")
    private String label;
}
